﻿<%@ Page Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true"
    CodeBehind="Edit.aspx.cs" Inherits="Mang24k99.Web.CLMN.KtClmnItems.Edit" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript">
        $(document).ready(
        function() {
            SetIfrHeight();
            InitialMsg();

        }
    )
    
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <table class="nav_Table1" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td class="nav">
                    <asp:Label runat="server" ID="lblNav" Text="通用栏目维护>>>{0}"></asp:Label>
                </td>
            </tr>
        </table>
        <br />
        <table class="nav_Table1" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td>
                    <table width="50%" align="center" style="text-align: center">
                        <tr>
                            <td>
                            </td>
                            <td style="white-space: nowrap">
                                <asp:LinkButton runat="server" ID="lnkbtnAdd" Text="新增" CssClass="col_on" OnClick="lnkbtnAdd_Click"
                                    OnClientClick="return false;"></asp:LinkButton>
                            </td>
                            <td style="white-space: nowrap">
                                <asp:LinkButton runat="server" ID="lnkbtnList" Text="列表" CssClass="col" OnClick="lnkbtnList_Click"></asp:LinkButton>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <br />
        <table style="width: 100%;" class="tb_table2">
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnNO" runat="server" Text="栏目编号:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColumnNO" runat="server" CssClass="forms" MaxLength="9"></asp:TextBox><div
                        id='divMsgtxtColumnNO' class='msg'>
                        <span style='color: red'>*</span>值要在0到65535之间</div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnName" runat="server" Text="栏目名称:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColumnName" runat="server" CssClass="forms" MaxLength="120"></asp:TextBox><div
                        id='divMsgtxtColumnName' class='msg'>
                        <span style='color: red'>*</span>长度必须在1到120之间</div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnAlias" runat="server" Text="栏目别称:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColumnAlias" runat="server" CssClass="forms" MaxLength="120"></asp:TextBox><div
                        id='divMsgtxtColumnAlias' class='msg'>
                        <span style='color: red'>*</span>长度必须在1到120之间</div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnDetailname" runat="server" Text="栏目详细名称:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColumnDetailname" runat="server" CssClass="forms" MaxLength="300"></asp:TextBox><div
                        id='divMsgtxtColumnDetailname' class='msg'>
                        长度必须在1到300之间</div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnLayer" runat="server" Text="栏目层次:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColumnLayer" runat="server" CssClass="forms" Text="1" MaxLength="5"></asp:TextBox><div
                        id='divMsgtxtColumnLayer' class='msg'>
                        <span style='color: red'>*</span>值要在0到2147483647之间</div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblChildNum" runat="server" Text="子栏目数量:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtChildNum" runat="server" CssClass="forms" Text="0" MaxLength="5"></asp:TextBox><div
                        id='divMsgtxtChildNum' class='msg'>
                        <span style='color: red'>*</span>值要在0到2147483647之间</div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblIsReltrastar" runat="server" Text="是否与好译星挂接:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:CheckBox ID="chkIsReltrastar" runat="server" Checked="false" CssClass="forms" />
                    <div id='divMsgchkIsReltrastar' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblIsCreatexml" runat="server" Text="是否生成XML:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:DropDownList ID="ddlIsCreatexml" runat="server" CssClass="forms">
                        <asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="是" Value="1"></asp:ListItem>
                    </asp:DropDownList>
                    <div id='divMsgddlIsCreatexml' class='msg'>
                        <span style='color: red'>*</span></div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblTrastarNum" runat="server" Text="绑定好易星栏目数:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtTrastarNum" runat="server" CssClass="forms" Text="0" MaxLength="5"></asp:TextBox><div
                        id='divMsgtxtTrastarNum' class='msg'>
                        </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblTrastarCompos" runat="server" Text="好易星栏目组合:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtTrastarCompos" runat="server" CssClass="forms" MaxLength="120"></asp:TextBox><div
                        id='divMsgtxtTrastarCompos' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblIsOrange" runat="server" Text="是否绑定机构:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:CheckBox ID="chkIsOrange" runat="server" Checked="false" CssClass="forms" />
                    <div id='divMsgchkIsOrange' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblOrgnizeNO" runat="server" Text="机构编号:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtOrgnizeNO" runat="server" CssClass="forms" MaxLength="9"></asp:TextBox><div
                        id='divMsgtxtOrgnizeNO' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblChannelNO" runat="server" Text="频道内排序序号:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtChannelNO" runat="server" CssClass="forms" MaxLength="5"></asp:TextBox><div
                        id='divMsgtxtChannelNO' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblMainpageNO" runat="server" Text="首页内排序号:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtMainpageNO" runat="server" CssClass="forms" MaxLength="5"></asp:TextBox><div
                        id='divMsgtxtMainpageNO' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnNofirst" runat="server" Text="一级栏目编号:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColumnNofirst" runat="server" CssClass="forms" Text="0" MaxLength="10"></asp:TextBox><div
                        id='divMsgtxtColumnNofirst' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColmunNosecond" runat="server" Text="二级栏目编号:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColmunNosecond" runat="server" CssClass="forms" Text="0" MaxLength="9"></asp:TextBox><div
                        id='divMsgtxtColmunNosecond' class='msg'>
                        </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnNothird" runat="server" Text="三级栏目编号:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtColumnNothird" runat="server" CssClass="forms" Text="0" MaxLength="9"></asp:TextBox><div
                        id='divMsgtxtColumnNothird' class='msg'>
                        </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblColumnAttrib" runat="server" Text="栏目属性:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:DropDownList ID="ddlColumnAttrib" runat="server" CssClass="forms">
                        <asp:ListItem Text="普通栏目" Value="1"></asp:ListItem>
                        <asp:ListItem Text="分析师栏目" Value="97"></asp:ListItem>
                        <asp:ListItem Text="虚拟栏目" Value="98"></asp:ListItem>
                        <asp:ListItem Text="固定栏目" Value="99" Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                    <div id='divMsgddlColumnAttrib' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblIsShow" runat="server" Text="是否显示:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:DropDownList ID="ddlIsShow" runat="server" CssClass="forms">
                        <asp:ListItem Text="显示" Value="1" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="不显示" Value="0"></asp:ListItem>
                    </asp:DropDownList>
                    <div id='divMsgddlIsShow' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblIsGrant" runat="server" Text="是否授权访问:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:DropDownList ID="ddlIsGrant" runat="server" CssClass="forms">
                        <asp:ListItem Text="是" Value="1" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="否" Value="0"></asp:ListItem>
                    </asp:DropDownList>
                    <div id='divMsgddlIsGrant' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblIsMenu" runat="server" Text="菜单栏:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:DropDownList ID="ddlIsMenu" runat="server" CssClass="forms">
                        <asp:ListItem Text="否" Value="0"></asp:ListItem>
                        <asp:ListItem Text="是" Value="1" Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                    <div id='divMsgddlIsMenu' class='msg'>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblNewsNum" runat="server" Text="好译星新闻条数:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtNewsNum" runat="server" CssClass="forms" MaxLength="9" Text="500"></asp:TextBox><div
                        id='divMsgtxtNewsNum' class='msg'>
                        值要在0到2147483647之间</div>
                </td>
            </tr>
            <tr>
                <td class="tb_title1">
                    <asp:Label ID="lblUrlAddress" runat="server" Text="栏目地址:"></asp:Label>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtUrlAddress" runat="server" CssClass="forms" MaxLength="500" 
                        Width="391px"></asp:TextBox><div
                        id='divMsgtxtUrlAddress' class='msg'>
                    </div>
                </td>
            </tr>
        </table>
        <table style="width: 200px; text-align: center" align="center">
            <tr>
                <td style="white-space: nowrap">
                    <asp:Button ID="btnSave" runat="server" Text="添 加" CssClass="form_btn" OnClick="btnSave_Click" />
                </td>
                <td style="white-space: nowrap">
                    <asp:Button ID="btnReturn" runat="server" OnClientClick="return ConfirmReturn()"
                        Text="取 消" CssClass="form_btn" OnClick="btnReturn_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
